<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"  
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<title>Usuários</title>
</h:head>
<h:body>
	<ui:composition template="../Layout/principal.xhtml">
		<ui:define name="content">
			<h:form prependId="false">
	            <p:messages/>
                <h:panelGrid id="infosLivro" columns="2" style="margin-bottom:10px">
					<h:outputLabel for="nome" value="Nome" />
					<h:inputText id="nome" value="#{usuarioController.usuario.no_usuario}"/>
					<h:outputLabel for="email" value="Email" />
					<h:inputText id="email" value="#{usuarioController.usuario.no_email}" />
	
					<p:commandButton actionListener="#{usuarioController.atualiza}"
						value="Alterar" />
	
				</h:panelGrid>
			</h:form>
		</ui:define>
	</ui:composition>
</h:body>
</html>
 